#书籍有书名，出版社，作者，出版日期等信息，定义方法，输出书籍信息
class book:
    def __init__(self, name, author, publish_date, publisher):
        self.name = name
        self.author = author
        self.publisher = publisher
        self.publish_date = publish_date

    def information(self):
        return f'书名是{self.name}，作者是{self.author}，出版日期是{self.publish_date}，出版社是{self.publisher}'

test = book('鲁智深漂流记','拉屎不擦省纸','2025，2，29','会黑社')
print(test.information())